<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0" />
    <link rel="stylesheet" type="text/css" href="./reset.css">
    <script type="text/javascript" src="./js/jquery.min.js"></script>
    <script type="text/javascript" src="./js/rem.js"></script>
    <title>Document</title>
</head>
<style type="text/css" media="screen">
    .content {
        width: 100%;
        height: 100%;    
        background: url(./image/repeat.png) repeat-y;
        background-size:cover;
    }
    .content img {
        position: absolute;
        display: none;
        width: 100%;
    }
    .wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        background-size: contain;
        background-position: center 0;
        background-repeat: no-repeat;
    }
    .print_one {
        background-image: url('./image/print-1.png');
    }
    .print_two {
        background-image: url('./image/print-2.png');
    }
    .print_three {
        background-image: url('./image/print-3.png');
    }
    .top-wrapper {
        position: absolute;
        display: flex;
        top: 1.8rem;
        left: 0.8rem;
    }
    .top-wrapper img {
        display: block;
        width: 0.5rem;
        height: 0.5rem;
    }
    .top-wrapper p {
        width: 1.8rem;
        height: 1rem;
        margin-left: 0.2rem;
        color: #fff;
        font-weight: 600;
    }
    .btn {
        position: absolute;
        top: 4.5rem;
        left: 0.6rem;
        width: 2.5rem;
        height: 0.3rem;
        line-height: 0.3rem;
        background: rgb(253, 230, 123);
        text-align: center;
        border-radius: 8px;
        color: rgb(194, 24, 43);
        font-weight: 600;
    }
</style>
<body>
<div class="content">
    <img id="img1" src="./image/print-1.png">
    <img id="img2" src="./image/print-2.png">
    <img id="img3" src="./image/print-3.png">
<div class="wrapper" id="wrapper">
    <div class="btn">
        保存截图  
    </div>  
</div>   
</div>
</body>
<script type="text/javascript">
    var loc = window.location.search;
    var index_step = loc.split('=')[1]
    switch (index_step) {
        case '3': case '6':
            // $('#wrapper').addClass('print_one')
            $('#img1').show()
        break;
        case '7': case '9':
            // $('#wrapper').addClass('print_two')
            $('#img2').show()
        break;
        case '5':
            // $('#wrapper').addClass('print_three')
            $('#img3').show()
        break;
    }
</script>
</html>